package com.mgiandia.library.jpadao;

import com.mgiandia.library.dao.BorrowerDAO;
import com.mgiandia.library.dao.DAOFactory;
import com.mgiandia.library.dao.ItemDAO;
import com.mgiandia.library.dao.LoanDAO;

public class JpaDAOFactory extends DAOFactory 
{

    @Override
    public BorrowerDAO getBorrowerDAO() {        
        return new BorrowerJpaDAO();
    }

    @Override
    public ItemDAO getItemDAO() {
        return new ItemJpaDAO();
    }

    @Override
    public LoanDAO getLoanDAO() {        
        return new LoanJpaDAO();
    }

}
